package yl.hs.bmipfull.service.equipment;

import yl.hs.bmipfull.pojo.equipment.DeviceInspectionEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.PageResult;
import yl.hs.bmipfull.viewmodels.SubmitModel;

import java.util.List;
import java.util.Map;

/*
 * IInspectionService
 * @category
 * @author 谢景广
 * @date 2022-11-15
 */
public interface IInspectionService extends IBaseService {
    PageResult<Map<String,Object>> queryPage(PageQuery query, int rowNum, int page);

    Integer save(SubmitModel model) throws Exception;
    Integer delete(String[] snArray );

    List<DeviceInspectionEntity> queryPendingInspection();
}
